package cn.com.taiji.oospub.wechat.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author 
 * @since 2021-02-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class RestaurantMealTime implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    /**
     * 餐厅id
     */
    private String restaurantId;

    /**
     * 餐厅名字
     */
    private String restaurantName;

    /**
     * 送餐时间:分钟
     */
    private Integer mealTimeHour;

    /**
     * 创建人姓名
     */
    private String creatorName;

    /**
     * 创建人
     */
    private String creator;

    /**
     * 是否有效
     */
    private String isEffect;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 送餐时间:分钟
     */
    private Integer mealTimeMinute;


    /**
     * 送餐时间
     */
    @TableField(exist = false)
    private String qcMealTime;
    //转换为分钟
    @TableField(exist = false)
    private int minutes;





}
